#include"btools.h"
int main()
{
        int a=3,b=4,c;

        printf("%d&%d=%d\n",a,b,c=a&b);
        BinaryPrint(a);
        BinaryPrint(b);
        puts("&---------------------------------------------");
        BinaryPrint(c);

        printf("%d|%d=%d\n",a,b,c=a|b);
        BinaryPrint(a);
        BinaryPrint(b);
        puts("|---------------------------------------------");
        BinaryPrint(c);

        printf("%d^%d=%d\n",a,b,c=a^b);
        BinaryPrint(a);
        BinaryPrint(b);
        puts("^---------------------------------------------");
        BinaryPrint(c);



}
